<template>
  <view class="container">
    <u-parse :content="content"></u-parse>
  </view>
</template>

<script>
import { queryPrivacy } from "@/api/index";
export default {
  components: {},
  data() {
    return {
      // 页面参数
      options: {},
      content: ``,
    };
  },

  /**
   * 生命周期函数--监听页面加载
   */
  async onLoad(options) {
    try {
      const _res = await queryPrivacy();
      console.log("_res_res_res", _res);

      this.content = _res[0].content;
    } catch (error) {}
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {},

  methods: {},
};
</script>

<style lang="scss" scoped>
.container {
  background: #f6f7fb;

  padding: 30rpx;
}

.u-content {
  padding: 24rpx;
}
</style>
